Qus : 1
3 Given the following truth table:
Which of the following Boolean functions does it represent?
1 OR 2 XOR 3 NOR 4 XNOR Go to Discussion
Solution Qus : 2
2 The product of two four bit positive binary numbers 1011 and 0011 is
1 1000011 2 100001 3 100101 4 100111 Go to Discussion
Solution Qus : 3
1 The simplified form of the Boolean Expression AB+AB' is ______
1 A 2 B 3 1+A 4 1+B' Go to Discussion
Solution Qus : 4
1 Representation of -11 in sign and magnitude is :
1 11011 2 010111 3 10011 4 01110 Go to Discussion
Solution Qus : 5
1 1001 is 2's complement representation of _______
1 -7 2 +9 3 +6 4 -6 Go to Discussion
Solution Qus : 6
4 Match List I with List II :
LIST I LIST II A. (x+y)' I. 1 B. x+1 II. x'+y' C. (xy)' III. x'.y' D. x+0 IV. x
Choose the correct answer from the options given below:
1 A-II, B-I, C-III, D-IV 2 A-II, B-IV, C-I, D-III 3 A-III, B-I, C-IV, D-II 4 A-III, B-I, C-II, D-IV Go to Discussion
Solution Qus : 7
1 Consider implementation of database. Among the following options, choose the most appropriate data structure for this
1 B+ Tree 2 Linked list 3 Queue 4 Stack Go to Discussion
Solution Qus : 8
2 Mach the List - 1 with List - II
List - I
List - II
(A)Asynchronous
(I) A pulse that cause a logic device to be activated or change state
(B)Trigger
(II) The operation is not executed in step with the clock
(C) J-K Flip flop
(III) Flip flop and atleast set, reset toggle and hold modes of operation
(D) D Flip flop
(IV) Flip flop with atleast set and rest modes of operations.
Choose the correct answer from the options given below:
1 [(A-I); (B-II); (C-III); (D-IV)] 2 [(A-II); (B-I); (C-III); (D-IV)] 3 [(A-III); (B-IV); (C-II); (D-I)] 4 [(A-I); (B-II); (C-IV); (D-III)] Go to Discussion
Solution Qus : 9
2 Consider a system with 1K pages and 512 frames and each page is of size 2 KB. How many bits are required to represent the virtual address space memory:
1 20 bits 2 21 bits 3 11 bits 4 16 bits Go to Discussion
Solution To determine the number of bits required to represent the virtual address space:
Number of pages = 1K = 2 1 0 . Page size = 2 KB = 2 11 bytes. Virtual address space = Number of pages × Page size = 2 10 × 2 11 = 2 21 bytes. Bits required =21 bits. Qus : 10
2 Each node is having a successor node in ________________:
1 Singly linked list 2 Singly Circular Linked list 3 Double Linked list 4 Not possible in any linked list Go to Discussion
Solution Qus : 11
2 How does the number of page frames affect and number of page faults for a given memory access pattern in FIFO page replacement algorithm?
1 Increasing the number of page frames decreases the number of page faults. 2
Increasing the number of page frames may increase or decrease the number of page faults depending on the memory access pattern.
3
Increasing the number of page frames always increases the number of page faults
4
Increasing the number of page frames has no effect on the number of page faults
Go to Discussion
Solution Qus : 12
1
Arrange the following in increasing order of their per unit cost.
(A) DRAM
(B) Magnetic disk
(C) Optical disk
(D) SRAM
(E) Magnetic tape
Choose the correct answer from the options given below:
1
E, C, B, A, D
2
E, C, B, D, A
3 C, B, E, D, A 4
C, B, D, E, A
Go to Discussion
Solution Qus : 13
4
Match List – I with List – II
List - I List - II (A) Flash Memory (I) Oldest and Slowest (B) PMOS (II) Used in large scale integration (LSI) (C) NMOS (III) Least power consumption (D) CMOS (IV) Non volatile RAM which is powered continuously
Choose the correct answer from the options given below:
1
(A – I); (B – IV); (C – III); (D – II)
2
(A – I); (B – IV); (C – II); (D – III)
3
(A – IV); (B – I); (C – III); (D – II)
4
(A – IV); (B – I); (C – II); (D – III)
Go to Discussion
Solution Flash Memory (A) :
PMOS (B) :
NMOS (C) :
CMOS (D) :
Qus : 14
1
Consider a completely skewed (left / right) binary search tree with n elements. What is the worst case time complexity of searching an element in this tree?
1 O(n) 2 O(1) 3 O(logn) 4 O(n logn) Go to Discussion
Solution Qus : 15
3
If we want to find last node of a singly linked list then the correct coding is
1
if (temp → link! = NULL) temp = temp → link
2
if (temp → data = = Num) temp = temp → link
3
while (temp → link! = NULL) temp = temp → link
4
While (temp → link! = data) temp = temp → link
Go to Discussion
Solution Qus : 16
2
The function represented by the k-map given below is
1 BC+AB+AC'
2
BC'+AB+AC'
3
B⊕C'
4 ABC Go to Discussion
Solution Qus : 17
3
Let A’ represent complement of A. Which of the following boolean expressions is/are true?
(A) A +AB=A
(B) (A+B)'= A'B'
(C) (A')'= A
(D) (AB)'= A'+B'
Choose the correct answer from the options given below:
1
(A), (B) and (D) only
2
(A) and (D) only
3
(A), (B) , (C) and (D)
4
(B) and (D) only
Go to Discussion
Solution Qus : 18
1
A logic circuit, that can odd two 1-bit numbers and produce output for sum and carry but cannot handle carry, input, is called ____________.
1
Half adder
2
Full adder
3
Multiplexer
4
Encoder
Go to Discussion
Solution Qus : 19
1
On a system using simple segmentation, following is the segment table:
Segment Limit Base 0 500 1000 1 200 2000 2 300 2500 3 100 1700
What is the physical address for the logical address 2, 212?
1 2712 2 512 3 2212 4 2800 Go to Discussion
Solution Qus : 20
4
Arrange the following in the increasing order of their asympotic complexities:
(A) Insertion sort (best case)
(B) Bubble sort (worst case)
(C) Binary Search (worst case)
(D) Merge sort (worst case)
1 A, C, B, D 2 D, A, C, B 3 A, B, C, D 4 C, A, D, B Go to Discussion
Solution Qus : 21
2
Decreasing the RAM of a computer typically leads to which of the following outcomes
?
1
Virtual memory increases
2
Page faults increases
3
Page faults decreases
4
Segmentation faults occurs
Go to Discussion
Solution Qus : 22
2
We can say that a schedule is conflict serializable?
(1) If a schedule T can be transformed into a serial schedule U by a series of swaps of conflicting operations.
(2) If a schedule T can be transformed into a serial schedule U by a series of swaps of nonconflicting operations.
(3) If a schedule T can be transformed into a non serial schedule U by a series of swaps of conflicting operations.
(4) If a schedule T can be transformed into a non serial schedule U by a series of swaps of non conflicting operations.
1 (1) 2 (2) 3 (3) 4 (4)
Go to Discussion
Solution Qus : 23
2
The following integers are needed to be stored in ascending order using bubble sort.
5, 8, 22, 18, 1
Following are the results of various passes during the sorting process.
1
5, 1, 8, 18, 22
2
1, 5, 8, 18, 22
3
5, 8, 18, 1, 22
4
5, 8, 1, 18, 22
Go to Discussion
Solution Qus : 24
1
The range of integers that can be represented by a 2’s complements number system is ________.where is n is number of bits in number.
1 − 2 n − 1 t o 2 n − 1 − 1 2 − ( 2 n − 1 − 1 ) t o ( 2 n − 1 − 1 ) 3 − 2 n − 1 t o 2 n − 2 4 − ( 2 n + 1 + 1 ) t o ( 2 n − 1 − 1 ) Go to Discussion
Solution Qus : 25
3
Given √ ( 224 ) r = ( 13 ) r where r is the radix. The value of r is _________________.
1 10 2 8 3 5 4 6 Go to Discussion
Solution Qus : 26
4
What are the ways to implement a priority Queue?
(A) Arrays
(B) Fibonacci tree
(C) Heap Data Structure
(D) Linked list
Choose the correct answer from the options given below:
1
(A), (B) and (D) only
2
(B), (C) and (D) only
3
(A), (B), (C) and (D)
4
(A), (C) and (D) only
Go to Discussion
Solution
Ways to Implement a Priority Queue
The correct answer is:
(A) Arrays, (C) Heap Data Structure, and (D) Linked List
Explanation:
Arrays:
Unsorted Array: Insertion is O(1)
, Deletion is O(n)
.
Sorted Array: Insertion is O(n)
, Deletion is O(1)
.
Heap Data Structure:
Binary heaps are commonly used for efficient implementation.
Insertion and Deletion take O(log n)
time.
Linked List:
Can be implemented as sorted or unsorted.
Efficiency depends on the choice of implementation.
Why not Fibonacci Tree?
Fibonacci trees are not used directly for priority queues. However, Fibonacci heaps (a separate data structure) can implement priority queues efficiently.
Qus : 27
3
An operating system cotains 4 user processor each requiring 5 units of resource R. The minimum number ofrequired units of R such that no deadlock will every occur is
1 20 2 4 3 17 4 15 Go to Discussion
Solution Minimum Number of Required Units of Resource R to Prevent Deadlock Number of processes (P) = 4 Maximum demand per process = 5 units Formula: R≥(P−1)×max demand+1 Substituting values: R≥(4−1)×5+1=3×5+1=15+1=16 Minimum required units of resource R = 16
Qus : 28
4 Given below are two statements:
Statement I: 011010 is 2's complement representation of -37.
Statement II: 111(8) is octal representation of 73.
In the light of the above statements, choose the most appropriate answer from the
options given below :
1 Both Statement I and Statement II are true 2 Both Statement I and Statement II are false. 3 Statement I is true but Statement II is false. 4 Statement I is false but Statement II is true. Go to Discussion
Solution Qus : 29
2
The current allocation and Maximum requirement of different types of resources for four processes are given below:
Consider the following four statements.
(A) P2 → P4 → P1 → P3 is a safe sequence
(B)
P4 → P2 → P1 → P3 is a safe sequence
(C)
P4 → P2 → P3 → P1 is a safe sequence
(D) P1 → P4 → P2 → P3 is a safe sequence
Identify correct statements from the given options.
1
(A), (B) and (D) only
2
(A), (B) and (C) only
3
(B), (C) and (D) only
4
(A), (B), (C), (D)
Go to Discussion
Solution
Banker's Algorithm Solution
Step 1: Need Matrix
The Need Matrix is calculated as:
Need = Max - Allocation
Process R1 R2 R3
P1 4 5 2
P2 1 0 1
P3 6 0 0
P4 0 1 0
Step 2: Initial Available Resources
The Available resources at the start are:
Step 3: Evaluate Each Sequence
Sequence (A): P2 → P4 → P1 → P3
P2: Need = [1, 0, 1], Available = [4, 4, 5]. Allocate resources. New Available = [7, 5, 7].
P4: Need = [0, 1, 0], Available = [7, 5, 7]. Allocate resources. New Available = [10, 7, 9].
P1: Need = [4, 5, 2], Available = [10, 7, 9]. Allocate resources. New Available = [14, 8, 11].
P3: Need = [6, 0, 0], Available = [14, 8, 11]. Allocate resources. New Available = [17, 12, 14].
Result: Sequence (A) is valid.
Sequence (B): P2 → P1 → P3 → P4
P2: Need = [1, 0, 1], Available = [4, 4, 5]. Allocate resources. New Available = [7, 5, 7].
P1: Need = [4, 5, 2], Available = [7, 5, 7]. Allocate resources. New Available = [11, 6, 9].
P3: Need = [6, 0, 0], Available = [11, 6, 9]. Allocate resources. New Available = [14, 10, 12].
P4: Need = [0, 1, 0], Available = [14, 10, 12]. Allocate resources. New Available = [17, 12, 14].
Result: Sequence (B) is valid.
Sequence (C): P4 → P2 → P3 → P1
P4: Need = [0, 1, 0], Available = [4, 4, 5]. Allocate resources. New Available = [7, 6, 7].
P2: Need = [1, 0, 1], Available = [7, 6, 7]. Allocate resources. New Available = [10, 7, 9].
P3: Need = [6, 0, 0], Available = [10, 7, 9]. Allocate resources. New Available = [14, 8, 11].
P1: Need = [4, 5, 2], Available = [14, 8, 11]. Allocate resources. New Available = [17, 12, 14].
Result: Sequence (C) is valid.
Sequence (D): P1 → P4 → P2 → P3
P1: Need = [4, 5, 2], Available = [4, 4, 5]. Cannot proceed as Need > Available.
Result: Sequence (D) is invalid.
Final Answer:
Safe Sequences: (A), (B), (C)
Invalid Sequence: (D)
Qus : 30
1 Given below are two statements: one is labelled as Assertion A and the other is
labelled as Reason R.
Assertion A : Binary information is represented in digital in terms of 'zeros' and
'ones.
Reason R : Digital computers are electronic devices, which operate using
electrical voltages.
In the light of the above statements, choose the most appropriate answer from the
options given below:
1 Both A and R are correct and R is the correct explanation of A. 2 Both A and R are correct but R is not the correct explanation of A. 3 A is correct but R is not correct. 4 A is not correct but R is correct. Go to Discussion
Solution Qus : 31
1
Match List – I with List – II
List - I (Algorithms) List - II (Complexity) (A) Bellman - Ford algorithm (with adjacencylist representation)
(I) O ( | V | 2 ) (B)
Dijkstra Algorithm
(II) O((V+E) logV) (C)
Prim’s Algorithm
(III) O(mn) (D)
Topological sorting (with adjacency list representation)
(IV) O(m+n)
Choose the correct answer from the options given below:
1
(A – III); (B – I); (C – II); (D – IV)
2
(A – II); (B – IV); (C – III); (D – I)
3
(A – III); (B – IV); (C – I); (D – II)
4
(A – II); (B – I); (C – III); (D – IV)
Go to Discussion
Solution Qus : 32
3 Which of the following storage hardwares can be used as a back-up device?
A. HDD
B. ROM
C. RAM
D. Cache
E. Magnetic Tape
Choose the correct answer from the options given below:
1 Only A, B and C 2 Only B. C and D 3 Only A and E 4 Only A, C and E Go to Discussion
Solution Qus : 33
2
Consider the following statements
(A) RAM is a combinational circuit
(B) RAM is sequential circuit
(C) PLA is a combinational circuit Which of the above statements are true
(D) PLA is a sequential circuit
1
(A) and (D) only
2
(B) and (C) only
3
(B) and (D) only
4
(A) and (C) only
Go to Discussion
Solution Qus : 34
1
The idea of cache memory is based on the which of the following?
1
Principle of locality reference.
2
Based on the fact that large portion of a program is referenced relatively.
3
Principle of 10 – 90 rule
4
Non volatile storage
Go to Discussion
Solution Qus : 35
3
Which of the following is not an applicaiton of Stack?
1
Tower of Hanoi
2
Recursion
3
Voter polling station
4
Parantheses Matchine Go to Discussion
Solution Qus : 36
1 In a processor, while executing an instruction
A. Programme Counter is used to hold the address of next instruction.
B. Instruction register holds the instruction for execution.
C. Memory Address Register is used to perform address translation.
D. Memory Data Register is used to perform data operation
E. Clock generates control signals.
Choose the correct answer from the options given below:
1 Only A and B are true 2 Only C and D are true 3 Only A, B and E are true 4 Only B, C, and D are true Go to Discussion
Solution Qus : 37
3
How many child processes will be created by following fork() system call?
fork();
fork();
fork();
fork();
1 4 2 16 3 15 4 3 Go to Discussion
Solution
Given: 4 calls to fork()
.
Formula: Total processes created = 2^n
Calculation:
Total processes = 2^4 = 16
Child processes = 16 - 1 = 15
Answer: 15 child processes
Qus : 38
1
Match List – I with List – II
List - I List - II (A) Critical Region (I) Circular Wait (B) Working Set (II) Condition variable (C) Deadlock (III) Principle of locality (D) Wait/Signal (IV) Mutual Exclusion
Choose the correct answer from the options given below:
1
(A – IV); (B – III); (C – I); (D – II)
2
(A – IV); (B – III); (C – II); (D – I)
3
(A – III); (B – IV); (C – II); (D – I)
4
(A – III); (B – IV); (C – I); (D – II)
Go to Discussion
Solution
Matching List-I with List-II:
List - I
List - II
Explanation
Critical Region
Mutual Exclusion (IV)
The critical region ensures mutual exclusion, allowing only one process to access a shared resource at a time.
Working Set
Principle of Locality (III)
The working set is a concept used in memory management, based on the principle of locality to predict the set of pages a process is likely to use.
Deadlock
Circular Wait (I)
One of the necessary conditions for a deadlock is circular wait, where processes are waiting for resources held by one another in a circular chain.
Wait/Signal
Condition Variable (II)
The wait and signal operations are synchronization mechanisms associated with condition variables in multi-threaded environments.
Final Answer:
(A) → (IV), (B) → (III), (C) → (I), (D) → (II)
Qus : 39
2
Consider the following tree. This is a / a _________________
1
AVL Search Tree
2
Binary Tree
3
Binary Search Tree
4
Fibonacci Tree
Go to Discussion
Solution Qus : 40
2
In a computer if the page fault service time is 10 ms and average memory access time is 30 ns. If one page faultis generated for every 106 memory accesses. What is the effective access time for the memory?
1
21 ns approximate
2
25 ns approximate
3
30 ns approximate
4
40 ns approximate
Go to Discussion
Solution Qus : 41
3 The simplified form of Boolean expression:
¯ A B C + A B C is
1 AC 2 AB 3 BC 4 0 Go to Discussion
Solution [{"qus_id":"11322","year":"2022"},{"qus_id":"11324","year":"2022"},{"qus_id":"11327","year":"2022"},{"qus_id":"11328","year":"2022"},{"qus_id":"11329","year":"2022"},{"qus_id":"11330","year":"2022"},{"qus_id":"11471","year":"2022"},{"qus_id":"11472","year":"2022"},{"qus_id":"11475","year":"2022"},{"qus_id":"11479","year":"2022"},{"qus_id":"11490","year":"2022"},{"qus_id":"11672","year":"2024"},{"qus_id":"11676","year":"2024"},{"qus_id":"11677","year":"2024"},{"qus_id":"11679","year":"2024"},{"qus_id":"11680","year":"2024"},{"qus_id":"11681","year":"2024"},{"qus_id":"11684","year":"2024"},{"qus_id":"11690","year":"2024"},{"qus_id":"11692","year":"2024"},{"qus_id":"11697","year":"2024"},{"qus_id":"11698","year":"2024"},{"qus_id":"11700","year":"2024"},{"qus_id":"11701","year":"2024"},{"qus_id":"11710","year":"2024"},{"qus_id":"11716","year":"2024"},{"qus_id":"11718","year":"2024"},{"qus_id":"11720","year":"2024"},{"qus_id":"11721","year":"2024"},{"qus_id":"11724","year":"2024"},{"qus_id":"11725","year":"2024"},{"qus_id":"11726","year":"2024"},{"qus_id":"11727","year":"2024"},{"qus_id":"11729","year":"2024"},{"qus_id":"11732","year":"2024"},{"qus_id":"11733","year":"2024"},{"qus_id":"11734","year":"2024"},{"qus_id":"11736","year":"2024"},{"qus_id":"11739","year":"2024"},{"qus_id":"11740","year":"2024"},{"qus_id":"11745","year":"2024"}]